google.setOnLoadCallback(function() {
	if(userObj){
		$('#user_zone').html('Welcome '+"<a href='"+BASE_URI+"user' class='bold'>"+userObj.firstName+' '+userObj.lastName+"</a>"+", "+"<a href='"+BASE_URI+"user/logout'>"+"Logout"+"</a>");
	}else{
		$('#user_zone').html('');
	}
	setInterval('setCrontab()',120000);
	//setInterval('test()',2000);
/**	jQuery(function() {
		var zIndexNumber = 100000;
		jQuery('*').each(function() {
			jQuery(this).css('zIndex', zIndexNumber);
			zIndexNumber -= 1;
		});
	});
	//$('center-wrap *')
**/	
});

function setCrontab(){
	$.post(BASE_URI+'user/crontab',{},function(res){
		console.log(res);
	});
}

function test(){
	$('#user_zone').html(ABC);
}